//
//  MySpecialDisappearButton.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/9/13.
//
//

#ifndef CanYouDoIt_MySpecialDisappearButton_h
#define CanYouDoIt_MySpecialDisappearButton_h

#include "cocos2d.h"
using namespace cocos2d;
#include "MyPageButton.h"
class MySpecialDisappearButton:public MyPageButton{
public:
    CCCallFuncO* callbackAfterMinimize;
    void addCallbackAfterMinimize(CCCallFuncO* mCallback);
    static MySpecialDisappearButton* create(const char* fileName, double mX,double mY,double mWidth,double mHeight);
    void minimize();
    void didFinishMinimize(CCObject* sender);
    virtual void onTouchButton();
    virtual bool isTouchedAt(CCPoint touchPosition);
    virtual bool init();
    CREATE_FUNC(MySpecialDisappearButton);

};


#endif
